package com.jeff.base;

public class Test {
    public int exampleMethod() {
        try {
            return 1; // 准备返回1
        }
        finally {
            // 此处代码会被执行
            System.out.println("Finally block executed.");
        }
    }

    public static void main(String[] args) {
        Test test = new Test();
        test.exampleMethod();
    }
}
